package com.dys.service.impl;

import com.dys.dao.EmpDao;
import com.dys.dao.impl.EmpDaoImpl;
import com.dys.entity.Emp;
import com.dys.service.EmpService;

import java.util.List;

/**
 * @className: com.dys.service.impl.EmpServiceImpl
 * @description: com.dys.service.impl
 * @author: pine cone
 * @version: v1.0.0
 * @createTime: 2024/09/24 21:52
 */
public class EmpServiceImpl implements EmpService {
    EmpDao empDao = new EmpDaoImpl();

    @Override
    public List<Emp> findAll() {
        return empDao.findAll();
    }
}
